package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 技术文章管理对象 tb_article
 * @date 2022-11-05
 */
public class SyArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long aid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long uid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String aname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String autor;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String aclass;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String acontent;

    public void setAid(Long aid)
    {
        this.aid = aid;
    }

    public Long getAid()
    {
        return aid;
    }
    public void setAname(String aname)
    {
        this.aname = aname;
    }

    public String getAname()
    {
        return aname;
    }
    public void setAutor(String autor)
    {
        this.autor = autor;
    }

    public String getAutor()
    {
        return autor;
    }
    public void setAclass(String aclass)
    {
        this.aclass = aclass;
    }

    public String getAclass()
    {
        return aclass;
    }
    public void setAcontent(String acontent)
    {
        this.acontent = acontent;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getAcontent()
    {
        return acontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aid", getAid())
            .append("aname", getAname())
            .append("autor", getAutor())
            .append("aclass", getAclass())
            .append("acontent", getAcontent())
                .append("uid",getUid())
            .toString();
    }
}
